﻿using System;
using System.Collections.Generic;
using Sparkle.Hosting;

namespace Sparkle.Wpf.Demo.UI.Attributes
{
    [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
    public class LinkLocalDocumetnsAttribute : DynamicLinkAttribute , IEntityAttribute
    {
        public Type ControlType { get; set; }

        public string Title { get; set; }

        public LinkLocalDocumetnsAttribute()
        {
            
        }

        public LinkLocalDocumetnsAttribute(string title, Type controlType)
        {
            Title = title;
            ControlType = controlType;
        }

        public override string ToString()
        {
            return Title;
        }

        public override IList<object> GetDynamicLinks(object refEntity)
        {
            throw new NotImplementedException();
        }
    }
}